<button pButton type="button"  (click)="off(data)" label="关闭"
        [routerLink]="['/index/maintenance/malfunctionBase/malfunctionClose', { id: data.sid, status: data.status}]"
        *ngIf=" data.status == '已解决'"></button>
<!--<p-dialog header="确认框" [(visible)]="dialogDisplay" modal="modal" width="300" [responsive]="true">-->
    <!--确认关闭吗？-->
    <!--<p-footer>-->
        <!--<button type="button" pButton icon="fa-check" (click)="sure()" label="确定"></button>-->
        <!--<button type="button" pButton icon="fa-close" (click)="dialogDisplay=false" label="取消"></button>-->
    <!--</p-footer>-->
<!--</p-dialog>-->